package org.example.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.dao.ExamDao;
import org.example.entity.ExamEntity;
import org.example.entity.QuestionInfoEntity;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

@Service("ExamTypeService")
public class ExamTypeServiceImpl extends ServiceImpl<ExamDao, ExamEntity>
        implements ExamTypeService{
    public IPage<ExamEntity> queryPage() {
        return queryPage(null);
    }

    @Override
    public List<ExamEntity> getAllExams() {
        return Collections.emptyList();
    }

    @Override
    public ExamEntity getExamById(int examId) {
        return null;
    }

    @Override
    public boolean addExam(ExamEntity exam) {
        return false;
    }

    @Override
    public boolean updateExam(ExamEntity exam) {
        return false;
    }

    @Override
    public boolean deleteExamById(int examId) {
        return false;
    }


    @Override
    public IPage<ExamEntity> queryPage(Map<String, Object> params) {
        return null;
    }
}
